<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1" />
  <title>登录 / 注册</title>
  <link rel="stylesheet" href="css/style.css">
</head>
<body>
  <main>
    <h1>登录 / 注册</h1>
    <div class="card">
      <h3>登录</h3>
      <label>微信号</label>
      <input id="login_wechat" />
      <label>密码</label>
      <input id="login_pwd" type="password" />
      <button id="btn_login">登录</button>
    </div>

    <div class="card">
      <h3>注册（只允许 config.json 中的用户）</h3>
      <label>微信号</label>
      <input id="reg_wechat" />
      <label>昵称</label>
      <input id="reg_nick" />
      <label>密码</label>
      <input id="reg_pwd" type="password" />
      <button id="btn_reg">注册</button>
    </div>

    <div id="msg"></div>

    <script src="js/main.js"></script>
  </main>
</body>
</html>
